[INFO] cloning repository https://github.com/mikezaby/chip-8.rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mikezaby/chip-8.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikezaby%2Fchip-8.rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikezaby%2Fchip-8.rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dce26ea5adaf9d9c9a2e3b9227594e9db1d0f90c
[INFO] checking mikezaby/chip-8.rs against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikezaby%2Fchip-8.rs" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mikezaby/chip-8.rs on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mikezaby/chip-8.rs
[INFO] finished tweaking git repo https://github.com/mikezaby/chip-8.rs
[INFO] tweaked toml for git repo https://github.com/mikezaby/chip-8.rs written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/mikezaby/chip-8.rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/brson/rust-sdl.git`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 21ef2f5755265311a2497079c819a72233a582e4e033438fc583f39dc9fc0bc1
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "21ef2f5755265311a2497079c819a72233a582e4e033438fc583f39dc9fc0bc1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "21ef2f5755265311a2497079c819a72233a582e4e033438fc583f39dc9fc0bc1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21ef2f5755265311a2497079c819a72233a582e4e033438fc583f39dc9fc0bc1", kill_on_drop: false }`
[INFO] [stdout] 21ef2f5755265311a2497079c819a72233a582e4e033438fc583f39dc9fc0bc1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e052eae74e7929591b89ab63edc3ad6f49e4d2b4eb8b2687af3d695db824cf2d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e052eae74e7929591b89ab63edc3ad6f49e4d2b4eb8b2687af3d695db824cf2d", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]     Checking rustc-serialize v0.3.24
[INFO] [stderr]     Checking libc v0.1.12
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking num-bigint v0.1.44
[INFO] [stderr]     Checking num-complex v0.1.43
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking sdl v0.3.6 (https://github.com/brson/rust-sdl.git#78bd0e74)
[INFO] [stderr]     Checking chip8 v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected parameter name, found `:`
[INFO] [stdout]   --> src/display.rs:54:20
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let pt = |&: p: usize| { (p as i16) * (scale as i16) };
[INFO] [stdout]    |                    ^ expected parameter name
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected parameter name, found `:`
[INFO] [stdout]   --> src/display.rs:54:20
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let pt = |&: p: usize| { (p as i16) * (scale as i16) };
[INFO] [stdout]    |                    ^ expected parameter name
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::File`
[INFO] [stdout]  --> src/cpu.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ no `File` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::File`
[INFO] [stdout]  --> src/cpu.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ no `File` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::fs`
[INFO] [stdout]  --> src/cpu.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::fs::PathExtensions;
[INFO] [stdout]   |              ^^ could not find `fs` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::rand`
[INFO] [stdout]  --> src/cpu.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::rand;
[INFO] [stdout]   |     ^^^^^^^^^ no `rand` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::fs`
[INFO] [stdout]  --> src/cpu.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::fs::PathExtensions;
[INFO] [stdout]   |              ^^ could not find `fs` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::rand`
[INFO] [stdout]  --> src/cpu.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::rand;
[INFO] [stdout]   |     ^^^^^^^^^ no `rand` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/cpu.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |         for i in range(0, 80) { cpu.memory[i] = fontset[i]; }
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/cpu.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 54 |         for i in range(0, 10000) { }
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getcwd` in module `os`
[INFO] [stdout]   --> src/cpu.rs:58:28
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let mut path = os::getcwd().unwrap();
[INFO] [stdout]    |                            ^^^^^^ not found in `os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  | use cpu::os::unix::process::sys::os::getcwd;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]    --> src/cpu.rs:227:26
[INFO] [stdout]     |
[INFO] [stdout] 227 |                 for i in range(0, self.op_x() + 1) {
[INFO] [stdout]     |                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]    --> src/cpu.rs:233:26
[INFO] [stdout]     |
[INFO] [stdout] 233 |                 for i in range(0, self.op_x() + 1) {
[INFO] [stdout]     |                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]    --> src/cpu.rs:250:18
[INFO] [stdout]     |
[INFO] [stdout] 250 |         for i in range(0u8, 16) {
[INFO] [stdout]     |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/display.rs:34:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |         for j in range(0, n) {
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/display.rs:35:22
[INFO] [stdout]    |
[INFO] [stdout] 35 |             for i in range(0, 8) {
[INFO] [stdout]    |                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/cpu.rs:78:15
[INFO] [stdout]    |
[INFO] [stdout] 78 |         match (self.opcode & 0xf000) {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl::Rect`
[INFO] [stdout]  --> src/display.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sdl::Rect;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/cpu.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |         for i in range(0, 80) { cpu.memory[i] = fontset[i]; }
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/cpu.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 54 |         for i in range(0, 10000) { }
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getcwd` in module `os`
[INFO] [stdout]   --> src/cpu.rs:58:28
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let mut path = os::getcwd().unwrap();
[INFO] [stdout]    |                            ^^^^^^ not found in `os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  | use cpu::os::unix::process::sys::os::getcwd;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]    --> src/cpu.rs:227:26
[INFO] [stdout]     |
[INFO] [stdout] 227 |                 for i in range(0, self.op_x() + 1) {
[INFO] [stdout]     |                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]    --> src/cpu.rs:233:26
[INFO] [stdout]     |
[INFO] [stdout] 233 |                 for i in range(0, self.op_x() + 1) {
[INFO] [stdout]     |                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]    --> src/cpu.rs:250:18
[INFO] [stdout]     |
[INFO] [stdout] 250 |         for i in range(0u8, 16) {
[INFO] [stdout]     |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/display.rs:34:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |         for j in range(0, n) {
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/display.rs:35:22
[INFO] [stdout]    |
[INFO] [stdout] 35 |             for i in range(0, 8) {
[INFO] [stdout]    |                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/cpu.rs:78:15
[INFO] [stdout]    |
[INFO] [stdout] 78 |         match (self.opcode & 0xf000) {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl::Rect`
[INFO] [stdout]  --> src/display.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sdl::Rect;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/main.rs:16:35
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let input_value = io::stdin().read_line().ok().expect("Failed to read line");
[INFO] [stdout]    |                                   ^^^^^^^^^- supplied 0 arguments
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   expected 1 argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/main.rs:16:35
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let input_value = io::stdin().read_line().ok().expect("Failed to read line");
[INFO] [stdout]    |                                   ^^^^^^^^^- supplied 0 arguments
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   expected 1 argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice` found for array `[u8; 4096]` in the current scope
[INFO] [stdout]    --> src/cpu.rs:200:76
[INFO] [stdout]     |
[INFO] [stdout] 200 |         self.v[15] = self.display.draw(x as usize, y as usize, self.memory.slice(from, to));
[INFO] [stdout]     |                                                                            ^^^^^ method not found in `[u8; 4096]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `slice` found for array `[u8; 4096]` in the current scope
[INFO] [stdout]    --> src/cpu.rs:200:76
[INFO] [stdout]     |
[INFO] [stdout] 200 |         self.v[15] = self.display.draw(x as usize, y as usize, self.memory.slice(from, to));
[INFO] [stdout]     |                                                                            ^^^^^ method not found in `[u8; 4096]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chip8`.
[INFO] [stdout] error: aborting due to 14 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0432, E0599.
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "e052eae74e7929591b89ab63edc3ad6f49e4d2b4eb8b2687af3d695db824cf2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e052eae74e7929591b89ab63edc3ad6f49e4d2b4eb8b2687af3d695db824cf2d", kill_on_drop: false }`
[INFO] [stdout] e052eae74e7929591b89ab63edc3ad6f49e4d2b4eb8b2687af3d695db824cf2d
